package com.sumainfor.pc.market.service;
import com.sumainfor.pc.market.dao.RdCommunityMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.concurrent.locks.ReentrantLock;
/**
 * @Date 2018年11月7日
 * @Describe 工程部查询房源配置
 */
@Service
public class RdCommunityService implements Serializable {

    private ReentrantLock lock = new ReentrantLock(false);

    Logger log = LoggerFactory.getLogger(RdCommunityService.class);// 日志

    @Autowired
    private RdCommunityMapper rdCommunityMapper;
    /**
     * 根据房源编号查询项目的物业和居委会
     */
    public Map<String,Object> getCommunityByHouId(Map<String,Object> params){
        return  rdCommunityMapper.getCommunityByHouId(params);
    }
}
